Skip to main content

DescribeCheckWarnings

Description

call the DescribeCheckWarnings interface to query the specified risk item and the check item information under the specified server.

Request Method

POST

Request Path

/apsara/route/aegis/DescribeCheckWarnings

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
RiskIdBODYlongYes1risk item ID. description to query the specified risk item and the check item information under the specified server, you need to provide the risk item ID, which can be obtained by DescribeCheckWarningSummary interface.
UuidBODYstringYesd42f938c-d962-48a0-90f9-05**********ID of the server performing the baseline check. risk item ID. description to query the information of the specified risk item and the check item under the specified server, you need to provide the ID of the server performing the baseline check, which can be obtained by calling the DescribeWarningMachines interface.
SourceIpBODYstringNo1.2.3.4access source IP address.
PageSizeBODYintegerNo20when paging query, the maximum number of data is displayed on each page. The default value is 20, which means that the system displays 20 pieces of data per page by default.
CurrentPageBODYintegerNo1page number of the current page when paging query. The starting value is 1, which means the first page. The default value is 1, which indicates that the first page is displayed by default.
regionIdBODYstringYesNo sample value for this parameter.region id
LangBODYstringNozhthe language type of the request and receive message. zh: Chinese en: English
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
Statusinteger1check item status. 1: Baseline check failed 2: Baseline repair verification 3: Baseline check passed 5: The baseline check status has expired 6: baseline check item ignored
CheckWarningsarrayNo sample value for this parameter.check item information.
PageSizeinteger20displays the number of data per page.
RequestIdstring0DFCADBA-7065-42DA-AF17-6868B9C2A8CFrequest ID of the result.
CheckWarningIdlong10alarm data ID.
Countinteger10the number of data items displayed on the current page.
Itemstringpassword expiration warningcheck item name.
TypestringIdentitycheck item type.
TotalCountinteger100the total number of data.
Uuidstringd42f938c-d962-48a0-90f9-***********ID of the server performing the baseline check.
CheckIdlong1check item ID.
CurrentPageinteger1the page number of the current page.
Levelstringhighthe risk level of the baseline check risk item. Contains the following grades: High risk: high Medium: medium Low risk: low

Example

Successful Response example

{
"Status":"1",
"CheckWarnings":"",
"PageSize":"20",
"RequestId":"0DFCADBA-7065-42DA-AF17-6868B9C2A8CF",
"CheckWarningId":"10",
"Count":"10",
"Item":"password expiration warning",
"Type":"Identity",
"TotalCount":"100",
"Uuid":"d42f938c-d962-48a0-90f9-***********",
"CheckId":"1",
"CurrentPage":"1",
"Level":"high"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}